package com.search4excel.window;

import javax.swing.BorderFactory;
import javax.swing.DefaultComboBoxModel;
import javax.swing.DefaultListModel;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JSplitPane;
import javax.swing.JTabbedPane;
import javax.swing.JTable;
import javax.swing.JTextField;
import javax.swing.JToolBar;
import javax.swing.border.TitledBorder;
import javax.swing.table.DefaultTableModel;

import org.dyno.visual.swing.layouts.Bilateral;
import org.dyno.visual.swing.layouts.Constraints;
import org.dyno.visual.swing.layouts.GroupLayout;
import org.dyno.visual.swing.layouts.Leading;

//VS4E -- DO NOT REMOVE THIS LINE!
public class MainWindow extends JFrame {

	private static final long serialVersionUID = 1L;
	private JSplitPane jSplitPane0;
	private JPanel jPanel2;
	private JComboBox jComboBoxSelection;
	private JButton jButtonAdd;
	private JPanel jPanel4;
	private JCheckBox jCheckBoxName;
	private JCheckBox jCheckBoxNo;
	private JCheckBox jCheckBoxClass;
	private JCheckBox jCheckBoxCollege;
	private JCheckBox jCheckBoxProject;
	private JButton jButtonSearch;
	private JTextField jTextFieldName;
	private JTextField jTextFieldNO;
	private JTextField jTextFieldClass;
	private JSplitPane jSplitPane1;
	private JList jList0;
	private JScrollPane jScrollPane0;
	private JComboBox jComboBoxCollege;
	private JComboBox jComboBoxProject;
	private JPanel jPanel3;
	private JTextField jTextFieldTableName;
	private JPanel jPanel5;
	private JTabbedPane jTabbedPane0;
	private JPanel jPanel1;
	private JPanel jPanelSheet_1;
	private JPanel jPanelSheet_2;
	private JPanel jPanelSheet_3;
	private JPanel jPanelSheet_4;
	private JPanel jPanelSheet_5;
	private JPanel jPanelSheet_6;
	private JPanel jPanelSheet_7;
	private JPanel jPanelSheet_8;
	private JPanel jPanelSheet_9;
	private JTable jTable0;
	private JScrollPane jScrollPane1;
	private JTable jTable1;
	private JScrollPane jScrollPane2;
	private JTable jTable2;
	private JScrollPane jScrollPane3;
	private JTable jTable3;
	private JScrollPane jScrollPane4;
	private JTable jTable4;
	private JScrollPane jScrollPane5;
	private JTable jTable5;
	private JScrollPane jScrollPane6;
	private JTable jTable6;
	private JScrollPane jScrollPane7;
	private JTable jTable7;
	private JScrollPane jScrollPane8;
	private JTable jTable8;
	private JScrollPane jScrollPane9;
	private JToolBar jToolBar1;
	private static final String PREFERRED_LOOK_AND_FEEL = "com.sun.java.swing.plaf.windows.WindowsLookAndFeel";
	public MainWindow() {
		initComponents();
	}

	private void initComponents() {
		setLayout(new GroupLayout());
		add(getJSplitPane1(), new Constraints(new Bilateral(2, 8, 1029), new Bilateral(56, 0, 600)));
		add(getJToolBar1(), new Constraints(new Bilateral(2, 12, 13), new Leading(7, 37, 592, 589)));
		setSize(1060, 668);
	}

	private JToolBar getJToolBar1() {
		if (jToolBar1 == null) {
			jToolBar1 = new JToolBar();
		}
		return jToolBar1;
	}

	private JScrollPane getJScrollPane9() {
		if (jScrollPane9 == null) {
			jScrollPane9 = new JScrollPane();
			jScrollPane9.setViewportView(getJTable8());
		}
		return jScrollPane9;
	}

	private JTable getJTable8() {
		if (jTable8 == null) {
			jTable8 = new JTable();
			jTable8.setModel(new DefaultTableModel(new Object[][] { { "0x0", "0x1", }, { "1x0", "1x1", }, }, new String[] { "Title 0", "Title 1", }) {
				private static final long serialVersionUID = 1L;
				Class<?>[] types = new Class<?>[] { Object.class, Object.class, };
	
				public Class<?> getColumnClass(int columnIndex) {
					return types[columnIndex];
				}
			});
		}
		return jTable8;
	}

	private JScrollPane getJScrollPane8() {
		if (jScrollPane8 == null) {
			jScrollPane8 = new JScrollPane();
			jScrollPane8.setViewportView(getJTable7());
		}
		return jScrollPane8;
	}

	private JTable getJTable7() {
		if (jTable7 == null) {
			jTable7 = new JTable();
			jTable7.setModel(new DefaultTableModel(new Object[][] { { "0x0", "0x1", }, { "1x0", "1x1", }, }, new String[] { "Title 0", "Title 1", }) {
				private static final long serialVersionUID = 1L;
				Class<?>[] types = new Class<?>[] { Object.class, Object.class, };
	
				public Class<?> getColumnClass(int columnIndex) {
					return types[columnIndex];
				}
			});
		}
		return jTable7;
	}

	private JScrollPane getJScrollPane7() {
		if (jScrollPane7 == null) {
			jScrollPane7 = new JScrollPane();
			jScrollPane7.setViewportView(getJTable6());
		}
		return jScrollPane7;
	}

	private JTable getJTable6() {
		if (jTable6 == null) {
			jTable6 = new JTable();
			jTable6.setModel(new DefaultTableModel(new Object[][] { { "0x0", "0x1", }, { "1x0", "1x1", }, }, new String[] { "Title 0", "Title 1", }) {
				private static final long serialVersionUID = 1L;
				Class<?>[] types = new Class<?>[] { Object.class, Object.class, };
	
				public Class<?> getColumnClass(int columnIndex) {
					return types[columnIndex];
				}
			});
		}
		return jTable6;
	}

	private JScrollPane getJScrollPane6() {
		if (jScrollPane6 == null) {
			jScrollPane6 = new JScrollPane();
			jScrollPane6.setViewportView(getJTable5());
		}
		return jScrollPane6;
	}

	private JTable getJTable5() {
		if (jTable5 == null) {
			jTable5 = new JTable();
			jTable5.setModel(new DefaultTableModel(new Object[][] { { "0x0", "0x1", }, { "1x0", "1x1", }, }, new String[] { "Title 0", "Title 1", }) {
				private static final long serialVersionUID = 1L;
				Class<?>[] types = new Class<?>[] { Object.class, Object.class, };
	
				public Class<?> getColumnClass(int columnIndex) {
					return types[columnIndex];
				}
			});
		}
		return jTable5;
	}

	private JScrollPane getJScrollPane5() {
		if (jScrollPane5 == null) {
			jScrollPane5 = new JScrollPane();
			jScrollPane5.setViewportView(getJTable4());
		}
		return jScrollPane5;
	}

	private JTable getJTable4() {
		if (jTable4 == null) {
			jTable4 = new JTable();
			jTable4.setModel(new DefaultTableModel(new Object[][] { { "0x0", "0x1", }, { "1x0", "1x1", }, }, new String[] { "Title 0", "Title 1", }) {
				private static final long serialVersionUID = 1L;
				Class<?>[] types = new Class<?>[] { Object.class, Object.class, };
	
				public Class<?> getColumnClass(int columnIndex) {
					return types[columnIndex];
				}
			});
		}
		return jTable4;
	}

	private JScrollPane getJScrollPane4() {
		if (jScrollPane4 == null) {
			jScrollPane4 = new JScrollPane();
			jScrollPane4.setViewportView(getJTable3());
		}
		return jScrollPane4;
	}

	private JTable getJTable3() {
		if (jTable3 == null) {
			jTable3 = new JTable();
			jTable3.setModel(new DefaultTableModel(new Object[][] { { "0x0", "0x1", }, { "1x0", "1x1", }, }, new String[] { "Title 0", "Title 1", }) {
				private static final long serialVersionUID = 1L;
				Class<?>[] types = new Class<?>[] { Object.class, Object.class, };
	
				public Class<?> getColumnClass(int columnIndex) {
					return types[columnIndex];
				}
			});
		}
		return jTable3;
	}

	private JScrollPane getJScrollPane3() {
		if (jScrollPane3 == null) {
			jScrollPane3 = new JScrollPane();
			jScrollPane3.setViewportView(getJTable2());
		}
		return jScrollPane3;
	}

	private JTable getJTable2() {
		if (jTable2 == null) {
			jTable2 = new JTable();
			jTable2.setModel(new DefaultTableModel(new Object[][] { { "0x0", "0x1", }, { "1x0", "1x1", }, }, new String[] { "Title 0", "Title 1", }) {
				private static final long serialVersionUID = 1L;
				Class<?>[] types = new Class<?>[] { Object.class, Object.class, };
	
				public Class<?> getColumnClass(int columnIndex) {
					return types[columnIndex];
				}
			});
		}
		return jTable2;
	}

	private JScrollPane getJScrollPane2() {
		if (jScrollPane2 == null) {
			jScrollPane2 = new JScrollPane();
			jScrollPane2.setViewportView(getJTable1());
		}
		return jScrollPane2;
	}

	private JTable getJTable1() {
		if (jTable1 == null) {
			jTable1 = new JTable();
			jTable1.setModel(new DefaultTableModel(new Object[][] { { "0x0", "0x1", }, { "1x0", "1x1", }, }, new String[] { "Title 0", "Title 1", }) {
				private static final long serialVersionUID = 1L;
				Class<?>[] types = new Class<?>[] { Object.class, Object.class, };
	
				public Class<?> getColumnClass(int columnIndex) {
					return types[columnIndex];
				}
			});
		}
		return jTable1;
	}

	private JScrollPane getJScrollPane1() {
		if (jScrollPane1 == null) {
			jScrollPane1 = new JScrollPane();
			jScrollPane1.setViewportView(getJTable0());
		}
		return jScrollPane1;
	}

	private JTable getJTable0() {
		if (jTable0 == null) {
			jTable0 = new JTable();
			jTable0.setModel(new DefaultTableModel(new Object[][] { { "0x0", "0x1", }, { "1x0", "1x1", }, }, new String[] { "Title 0", "Title 1", }) {
				private static final long serialVersionUID = 1L;
				Class<?>[] types = new Class<?>[] { Object.class, Object.class, };
	
				public Class<?> getColumnClass(int columnIndex) {
					return types[columnIndex];
				}
			});
		}
		return jTable0;
	}

	private JPanel getJPanelSheet_9() {
		if (jPanelSheet_9 == null) {
			jPanelSheet_9 = new JPanel();
			jPanelSheet_9.setVisible(false);
			jPanelSheet_9.setLayout(new GroupLayout());
			jPanelSheet_9.add(getJScrollPane9(), new Constraints(new Bilateral(-1, 0, 23), new Bilateral(1, 0, 27, 402)));
		}
		return jPanelSheet_9;
	}

	private JPanel getJPanelSheet_8() {
		if (jPanelSheet_8 == null) {
			jPanelSheet_8 = new JPanel();
			jPanelSheet_8.setLayout(new GroupLayout());
			jPanelSheet_8.add(getJScrollPane8(), new Constraints(new Bilateral(-1, 0, 23), new Bilateral(0, 0, 27, 402)));
		}
		return jPanelSheet_8;
	}

	private JPanel getJPanelSheet_7() {
		if (jPanelSheet_7 == null) {
			jPanelSheet_7 = new JPanel();
			jPanelSheet_7.setVisible(false);
			jPanelSheet_7.setLayout(new GroupLayout());
			jPanelSheet_7.add(getJScrollPane7(), new Constraints(new Bilateral(-1, 0, 23), new Bilateral(0, 0, 27, 402)));
		}
		return jPanelSheet_7;
	}

	private JPanel getJPanelSheet_6() {
		if (jPanelSheet_6 == null) {
			jPanelSheet_6 = new JPanel();
			jPanelSheet_6.setVisible(false);
			jPanelSheet_6.setLayout(new GroupLayout());
			jPanelSheet_6.add(getJScrollPane6(), new Constraints(new Bilateral(1, 0, 23), new Bilateral(1, 0, 27, 402)));
		}
		return jPanelSheet_6;
	}

	private JPanel getJPanelSheet_5() {
		if (jPanelSheet_5 == null) {
			jPanelSheet_5 = new JPanel();
			jPanelSheet_5.setVisible(false);
			jPanelSheet_5.setLayout(new GroupLayout());
			jPanelSheet_5.add(getJScrollPane5(), new Constraints(new Bilateral(0, 0, 23), new Bilateral(0, 0, 27, 402)));
		}
		return jPanelSheet_5;
	}

	private JPanel getJPanelSheet_4() {
		if (jPanelSheet_4 == null) {
			jPanelSheet_4 = new JPanel();
			jPanelSheet_4.setVisible(false);
			jPanelSheet_4.setLayout(new GroupLayout());
			jPanelSheet_4.add(getJScrollPane4(), new Constraints(new Bilateral(1, 0, 23), new Bilateral(1, 0, 27, 402)));
		}
		return jPanelSheet_4;
	}

	private JPanel getJPanelSheet_3() {
		if (jPanelSheet_3 == null) {
			jPanelSheet_3 = new JPanel();
			jPanelSheet_3.setLayout(new GroupLayout());
			jPanelSheet_3.add(getJScrollPane3(), new Constraints(new Bilateral(0, 0, 23), new Bilateral(0, 0, 27, 402)));
		}
		return jPanelSheet_3;
	}

	private JPanel getJPanelSheet_2() {
		if (jPanelSheet_2 == null) {
			jPanelSheet_2 = new JPanel();
			jPanelSheet_2.setVisible(false);
			jPanelSheet_2.setLayout(new GroupLayout());
			jPanelSheet_2.add(getJScrollPane2(), new Constraints(new Bilateral(1, 0, 23), new Bilateral(0, 0, 27, 402)));
		}
		return jPanelSheet_2;
	}

	private JPanel getJPanelSheet_1() {
		if (jPanelSheet_1 == null) {
			jPanelSheet_1 = new JPanel();
			jPanelSheet_1.setVisible(false);
			jPanelSheet_1.setLayout(new GroupLayout());
			jPanelSheet_1.add(getJScrollPane1(), new Constraints(new Bilateral(0, 0, 23), new Bilateral(0, 0, 27, 402)));
		}
		return jPanelSheet_1;
	}

	private JPanel getJPanel1() {
		if (jPanel1 == null) {
			jPanel1 = new JPanel();
			jPanel1.setLayout(new GroupLayout());
			jPanel1.add(getJPanel3(), new Constraints(new Bilateral(2, 0, 785), new Bilateral(4, 0, 580)));
		}
		return jPanel1;
	}

	private JTabbedPane getJTabbedPane0() {
		if (jTabbedPane0 == null) {
			jTabbedPane0 = new JTabbedPane();
			jTabbedPane0.addTab("Sheet 1", getJPanelSheet_1());
			jTabbedPane0.addTab("Sheet 2", getJPanelSheet_2());
			jTabbedPane0.addTab("Sheet 3", getJPanelSheet_3());
			jTabbedPane0.addTab("Sheet 4", getJPanelSheet_4());
			jTabbedPane0.addTab("Sheet 5", getJPanelSheet_5());
			jTabbedPane0.addTab("Sheet 6", getJPanelSheet_6());
			jTabbedPane0.addTab("Sheet 7", getJPanelSheet_7());
			jTabbedPane0.addTab("Sheet 8", getJPanelSheet_8());
			jTabbedPane0.addTab("Sheet 9", getJPanelSheet_9());
		}
		return jTabbedPane0;
	}

	private JPanel getJPanel5() {
		if (jPanel5 == null) {
			jPanel5 = new JPanel();
			jPanel5.setBorder(BorderFactory.createTitledBorder(null, "搜索结果", TitledBorder.LEADING, TitledBorder.DEFAULT_POSITION, null, null));
			jPanel5.setLayout(new GroupLayout());
			jPanel5.add(getJTextFieldTableName(), new Constraints(new Bilateral(0, 0, 6), new Leading(0, 12, 12)));
			jPanel5.add(getJTabbedPane0(), new Constraints(new Bilateral(0, 0, 5), new Bilateral(27, 0, 5)));
		}
		return jPanel5;
	}

	private JTextField getJTextFieldTableName() {
		if (jTextFieldTableName == null) {
			jTextFieldTableName = new JTextField();
		}
		return jTextFieldTableName;
	}

	private JPanel getJPanel3() {
		if (jPanel3 == null) {
			jPanel3 = new JPanel();
			jPanel3.setLayout(new GroupLayout());
			jPanel3.add(getJPanel4(), new Constraints(new Bilateral(0, 0, 733), new Leading(3, 73, 63, 63)));
			jPanel3.add(getJPanel5(), new Constraints(new Bilateral(0, 0, 18), new Bilateral(77, 0, 57)));
		}
		return jPanel3;
	}

	private JComboBox getJComboBoxProject() {
		if (jComboBoxProject == null) {
			jComboBoxProject = new JComboBox();
			jComboBoxProject.setModel(new DefaultComboBoxModel(new Object[] { "", 
					"item0", 
					"item1", 
					"item2", 
					"item3" }));
		}
		return jComboBoxProject;
	}

	private JComboBox getJComboBoxCollege() {
		if (jComboBoxCollege == null) {
			jComboBoxCollege = new JComboBox();
			jComboBoxCollege.setModel(new DefaultComboBoxModel(new Object[] { "",
					"电气与电子工程学院",
					"能源动力与机械工程学院", 
					"控制与计算机工程学院",
					"经济与管理学院",
					"可再生能源学院",
					"核科学与工程学院",
					"人文与社会科学学院",
					"国际教育学院",
					"数理学院",
					"外国语学院"}));
		}
		return jComboBoxCollege;
	}

	private JScrollPane getJScrollPane0() {
		if (jScrollPane0 == null) {
			jScrollPane0 = new JScrollPane();
			jScrollPane0.setViewportView(getJList0());
		}
		return jScrollPane0;
	}

	private JList getJList0() {
		if (jList0 == null) {
			jList0 = new JList();
			DefaultListModel listModel = new DefaultListModel();
			listModel.addElement("item0");
			listModel.addElement("item1");
			listModel.addElement("item2");
			listModel.addElement("item3");
			jList0.setModel(listModel);
		}
		return jList0;
	}

	private JSplitPane getJSplitPane1() {
		if (jSplitPane1 == null) {
			jSplitPane1 = new JSplitPane();
			jSplitPane1.setDividerLocation(230);
			jSplitPane1.setLeftComponent(getJPanel2());
		    jSplitPane1.setRightComponent(getJPanel3());
		}
		return jSplitPane1;
	}


	private JTextField getJTextFieldClass() {
		if (jTextFieldClass == null) {
			jTextFieldClass = new JTextField();
		}
		return jTextFieldClass;
	}

	private JTextField getJTextFieldNO() {
		if (jTextFieldNO == null) {
			jTextFieldNO = new JTextField();
		}
		return jTextFieldNO;
	}

	private JTextField getJTextFieldName() {
		if (jTextFieldName == null) {
			jTextFieldName = new JTextField();
		}
		return jTextFieldName;
	}

	private JButton getJButtonSearch() {
		if (jButtonSearch == null) {
			jButtonSearch = new JButton();
			jButtonSearch.setText("搜索");
		}
		return jButtonSearch;
	}

	private JCheckBox getJCheckBoxProject() {
		if (jCheckBoxProject == null) {
			jCheckBoxProject = new JCheckBox();
			jCheckBoxProject.setText("项目");
		}
		return jCheckBoxProject;
	}

	private JCheckBox getJCheckBoxCollege() {
		if (jCheckBoxCollege == null) {
			jCheckBoxCollege = new JCheckBox();
			jCheckBoxCollege.setText("学院");
		}
		return jCheckBoxCollege;
	}

	private JCheckBox getJCheckBoxClass() {
		if (jCheckBoxClass == null) {
			jCheckBoxClass = new JCheckBox();
			jCheckBoxClass.setText("班级");
		}
		return jCheckBoxClass;
	}

	private JCheckBox getJCheckBoxNO() {
		if (jCheckBoxNo == null) {
			jCheckBoxNo = new JCheckBox();
			jCheckBoxNo.setText("学号");
		}
		return jCheckBoxNo;
	}

	private JCheckBox getJCheckBoxName() {
		if (jCheckBoxName == null) {
			jCheckBoxName = new JCheckBox();
			jCheckBoxName.setText("姓名");
		}
		return jCheckBoxName;
	}

	private JPanel getJPanel4() {
		if (jPanel4 == null) {
			jPanel4 = new JPanel();
			jPanel4.setBorder(BorderFactory.createTitledBorder(null, "搜索条件", TitledBorder.LEADING, TitledBorder.DEFAULT_POSITION, null, null));
			jPanel4.setLayout(new GroupLayout());
			jPanel4.add(getJComboBoxProject(), new Constraints(new Leading(467, 119, 10, 10), new Leading(28, 12, 12)));
			jPanel4.add(getJComboBoxCollege(), new Constraints(new Leading(291, 156, 10, 10), new Leading(28, 12, 12)));
			jPanel4.add(getJCheckBoxClass(), new Constraints(new Leading(194, 12, 12), new Leading(0, 12, 12)));
			jPanel4.add(getJCheckBoxCollege(), new Constraints(new Leading(291, 12, 12), new Leading(0, 12, 12)));
			jPanel4.add(getJCheckBoxNO(), new Constraints(new Leading(98, 12, 12), new Leading(0, 12, 12)));
			jPanel4.add(getJCheckBoxName(), new Constraints(new Leading(8, 12, 12), new Leading(0, 12, 12)));
			jPanel4.add(getJCheckBoxProject(), new Constraints(new Leading(467, 12, 12), new Leading(0, 12, 12)));
			jPanel4.add(getJButtonSearch(), new Constraints(new Leading(654, 10, 10), new Leading(12, 12, 12)));
			jPanel4.add(getJTextFieldName(), new Constraints(new Leading(8, 78, 12, 12), new Leading(28, 10, 10)));
			jPanel4.add(getJTextFieldNO(), new Constraints(new Leading(98, 84, 12, 12), new Leading(28, 12, 12)));
			jPanel4.add(getJTextFieldClass(), new Constraints(new Leading(194, 85, 12, 12), new Leading(28, 12, 12)));
		}
		return jPanel4;
	}

	private JButton getJButtonAdd() {
		if (jButtonAdd == null) {
			jButtonAdd = new JButton();
			jButtonAdd.setText("添加");
		}
		return jButtonAdd;
	}

	private JComboBox getJComboBoxSelection() {
		if (jComboBoxSelection == null) {
			jComboBoxSelection = new JComboBox();
			jComboBoxSelection.setModel(new DefaultComboBoxModel(new Object[] { "item0", "item1", "item2", "item3" }));
		}
		return jComboBoxSelection;
	}

	private JPanel getJPanel2() {
		if (jPanel2 == null) {
			jPanel2 = new JPanel();
			jPanel2.setBorder(BorderFactory.createTitledBorder(null, "搜索范围", TitledBorder.LEADING, TitledBorder.DEFAULT_POSITION, null, null));
			jPanel2.setLayout(new GroupLayout());
			jPanel2.add(getJButtonAdd(), new Constraints(new Bilateral(0, 9, 214), new Leading(30, 10, 10)));
			jPanel2.add(getJComboBoxSelection(), new Constraints(new Bilateral(0, 9, 214), new Leading(3, 23, 10, 10)));
			jPanel2.add(getJScrollPane0(), new Constraints(new Bilateral(1, 10, 23), new Bilateral(60, 0, 23)));
		}
		return jPanel2;
	}

	private JSplitPane getJSplitPane0() {
		if (jSplitPane0 == null) {
			jSplitPane0 = new JSplitPane();
			jSplitPane0.setDividerLocation(1);
		}
		return jSplitPane0;
	}

}
